package cn.ztuo.bitrade.dao;

import cn.ztuo.bitrade.entity.ContractOrderDetail;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface ContractOrderDetailServiceMapper extends MongoRepository<ContractOrderDetail,String> {
    List<ContractOrderDetail> findAllByOrderId(String orderId);
    List<ContractOrderDetail> findAllByMemberId(Long memberId);

    List<ContractOrderDetail> findAllByOrderIdIn(List<String> orderId);
}
